package com.joven.shelltest.utils.delegateanno;

import lombok.experimental.Delegate;

/**
 * @Author: wzj
 * @Date: 2024/4/22 9:17
 */
public class Bob {

    @Delegate
    private Arise arise;

    public Bob(Arise arise) {
        this.arise = arise;
    }

    public static void main(String[] args) {
        Arise arise = new Arise();
        Bob bob = new Bob(arise);
        bob.sayHello();
    }

}
